Optimal. Leaf size=242 \[ -\frac {b^2 x \left (a+b \text {sech}^{-1}(c x)\right )}{c^2}-\frac {b x \sqrt {\frac {1-c x}{1+c x}} (1+c x) \left (a+b \text {sech}^{-1}(c x)\right )^2}{2 c^2}+\frac {1}{3} x^3 \left (a+b \text {sech}^{-1}(c x)\right )^3-\frac {b \left (a+b \text {sech}^{-1}(c x)\right )^2 \text {ArcTan}\left (e^{\text {sech}^{-1}(c x)}\right )}{c^3}+\frac {b^3 \text {ArcTan}\left (\frac {\sqrt {\frac {1-c x}{1+c x}} (1+c x)}{c x}\right )}{c^3}+\frac {i b^2 \left (a+b \text {sech}^{-1}(c x)\right ) \text {PolyLog}\left (2,-i e^{\text {sech}^{-1}(c x)}\right )}{c^3}-\frac {i b^2 \left (a+b \text {sech}^{-1}(c x)\right ) \text {PolyLog}\left (2,i e^{\text {sech}^{-1}(c x)}\right )}{c^3}-\frac {i b^3 \text {PolyLog}\left (3,-i e^{\text {sech}^{-1}(c x)}\right )}{c^3}+\frac {i b^3 \text {PolyLog}\left (3,i e^{\text {sech}^{-1}(c x)}\right )}{c^3} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.14, antiderivative size = 242, normalized size of antiderivative = 1.00, number of steps
used = 11, number of rules used = 8, integrand size = 14, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.571, Rules used = {6420, 5559,
4271, 3855, 4265, 2611, 2320, 6724} \begin {gather*} -\frac {b \text {ArcTan}\left (e^{\text {sech}^{-1}(c x)}\right ) \left (a+b \text {sech}^{-1}(c x)\right )^2}{c^3}+\frac {i b^2 \text {Li}_2\left (-i e^{\text {sech}^{-1}(c x)}\right ) \left (a+b \text {sech}^{-1}(c x)\right )}{c^3}-\frac {i b^2 \text {Li}_2\left (i e^{\text {sech}^{-1}(c x)}\right ) \left (a+b \text {sech}^{-1}(c x)\right )}{c^3}-\frac {b^2 x \left (a+b \text {sech}^{-1}(c x)\right )}{c^2}-\frac {b x \sqrt {\frac {1-c x}{c x+1}} (c x+1) \left (a+b \text {sech}^{-1}(c x)\right )^2}{2 c^2}+\frac {1}{3} x^3 \left (a+b \text {sech}^{-1}(c x)\right )^3+\frac {b^3 \text {ArcTan}\left (\frac {\sqrt {\frac {1-c x}{c x+1}} (c x+1)}{c x}\right )}{c^3}-\frac {i b^3 \text {Li}_3\left (-i e^{\text {sech}^{-1}(c x)}\right )}{c^3}+\frac {i b^3 \text {Li}_3\left (i e^{\text {sech}^{-1}(c x)}\right )}{c^3} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 2320
Rule 2611
Rule 3855
Rule 4265
Rule 4271
Rule 5559
Rule 6420
Rule 6724
Rubi steps
\begin {align*} \int x^2 \left (a+b \text {sech}^{-1}(c x)\right )^3 \, dx &=-\frac {\text {Subst}\left (\int (a+b x)^3 \text {sech}^3(x) \tanh (x) \, dx,x,\text {sech}^{-1}(c x)\right )}{c^3}\\ &=\frac {1}{3} x^3 \left (a+b \text {sech}^{-1}(c x)\right )^3-\frac {b \text {Subst}\left (\int (a+b x)^2 \text {sech}^3(x) \, dx,x,\text {sech}^{-1}(c x)\right )}{c^3}\\ &=-\frac {b^2 x \left (a+b \text {sech}^{-1}(c x)\right )}{c^2}-\frac {b x \sqrt {\frac {1-c x}{1+c x}} (1+c x) \left (a+b \text {sech}^{-1}(c x)\right )^2}{2 c^2}+\frac {1}{3} x^3 \left (a+b \text {sech}^{-1}(c x)\right )^3-\frac {b \text {Subst}\left (\int (a+b x)^2 \text {sech}(x) \, dx,x,\text {sech}^{-1}(c x)\right )}{2 c^3}+\frac {b^3 \text {Subst}\left (\int \text {sech}(x) \, dx,x,\text {sech}^{-1}(c x)\right )}{c^3}\\ &=-\frac {b^2 x \left (a+b \text {sech}^{-1}(c x)\right )}{c^2}-\frac {b x \sqrt {\frac {1-c x}{1+c x}} (1+c x) \left (a+b \text {sech}^{-1}(c x)\right )^2}{2 c^2}+\frac {1}{3} x^3 \left (a+b \text {sech}^{-1}(c x)\right )^3-\frac {b \left (a+b \text {sech}^{-1}(c x)\right )^2 \tan ^{-1}\left (e^{\text {sech}^{-1}(c x)}\right )}{c^3}+\frac {b^3 \tan ^{-1}\left (\frac {\sqrt {\frac {1-c x}{1+c x}} (1+c x)}{c x}\right )}{c^3}+\frac {\left (i b^2\right ) \text {Subst}\left (\int (a+b x) \log \left (1-i e^x\right ) \, dx,x,\text {sech}^{-1}(c x)\right )}{c^3}-\frac {\left (i b^2\right ) \text {Subst}\left (\int (a+b x) \log \left (1+i e^x\right ) \, dx,x,\text {sech}^{-1}(c x)\right )}{c^3}\\ &=-\frac {b^2 x \left (a+b \text {sech}^{-1}(c x)\right )}{c^2}-\frac {b x \sqrt {\frac {1-c x}{1+c x}} (1+c x) \left (a+b \text {sech}^{-1}(c x)\right )^2}{2 c^2}+\frac {1}{3} x^3 \left (a+b \text {sech}^{-1}(c x)\right )^3-\frac {b \left (a+b \text {sech}^{-1}(c x)\right )^2 \tan ^{-1}\left (e^{\text {sech}^{-1}(c x)}\right )}{c^3}+\frac {b^3 \tan ^{-1}\left (\frac {\sqrt {\frac {1-c x}{1+c x}} (1+c x)}{c x}\right )}{c^3}+\frac {i b^2 \left (a+b \text {sech}^{-1}(c x)\right ) \text {Li}_2\left (-i e^{\text {sech}^{-1}(c x)}\right )}{c^3}-\frac {i b^2 \left (a+b \text {sech}^{-1}(c x)\right ) \text {Li}_2\left (i e^{\text {sech}^{-1}(c x)}\right )}{c^3}-\frac {\left (i b^3\right ) \text {Subst}\left (\int \text {Li}_2\left (-i e^x\right ) \, dx,x,\text {sech}^{-1}(c x)\right )}{c^3}+\frac {\left (i b^3\right ) \text {Subst}\left (\int \text {Li}_2\left (i e^x\right ) \, dx,x,\text {sech}^{-1}(c x)\right )}{c^3}\\ &=-\frac {b^2 x \left (a+b \text {sech}^{-1}(c x)\right )}{c^2}-\frac {b x \sqrt {\frac {1-c x}{1+c x}} (1+c x) \left (a+b \text {sech}^{-1}(c x)\right )^2}{2 c^2}+\frac {1}{3} x^3 \left (a+b \text {sech}^{-1}(c x)\right )^3-\frac {b \left (a+b \text {sech}^{-1}(c x)\right )^2 \tan ^{-1}\left (e^{\text {sech}^{-1}(c x)}\right )}{c^3}+\frac {b^3 \tan ^{-1}\left (\frac {\sqrt {\frac {1-c x}{1+c x}} (1+c x)}{c x}\right )}{c^3}+\frac {i b^2 \left (a+b \text {sech}^{-1}(c x)\right ) \text {Li}_2\left (-i e^{\text {sech}^{-1}(c x)}\right )}{c^3}-\frac {i b^2 \left (a+b \text {sech}^{-1}(c x)\right ) \text {Li}_2\left (i e^{\text {sech}^{-1}(c x)}\right )}{c^3}-\frac {\left (i b^3\right ) \text {Subst}\left (\int \frac {\text {Li}_2(-i x)}{x} \, dx,x,e^{\text {sech}^{-1}(c x)}\right )}{c^3}+\frac {\left (i b^3\right ) \text {Subst}\left (\int \frac {\text {Li}_2(i x)}{x} \, dx,x,e^{\text {sech}^{-1}(c x)}\right )}{c^3}\\ &=-\frac {b^2 x \left (a+b \text {sech}^{-1}(c x)\right )}{c^2}-\frac {b x \sqrt {\frac {1-c x}{1+c x}} (1+c x) \left (a+b \text {sech}^{-1}(c x)\right )^2}{2 c^2}+\frac {1}{3} x^3 \left (a+b \text {sech}^{-1}(c x)\right )^3-\frac {b \left (a+b \text {sech}^{-1}(c x)\right )^2 \tan ^{-1}\left (e^{\text {sech}^{-1}(c x)}\right )}{c^3}+\frac {b^3 \tan ^{-1}\left (\frac {\sqrt {\frac {1-c x}{1+c x}} (1+c x)}{c x}\right )}{c^3}+\frac {i b^2 \left (a+b \text {sech}^{-1}(c x)\right ) \text {Li}_2\left (-i e^{\text {sech}^{-1}(c x)}\right )}{c^3}-\frac {i b^2 \left (a+b \text {sech}^{-1}(c x)\right ) \text {Li}_2\left (i e^{\text {sech}^{-1}(c x)}\right )}{c^3}-\frac {i b^3 \text {Li}_3\left (-i e^{\text {sech}^{-1}(c x)}\right )}{c^3}+\frac {i b^3 \text {Li}_3\left (i e^{\text {sech}^{-1}(c x)}\right )}{c^3}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.75, size = 440, normalized size = 1.82 \begin {gather*} \frac {2 a^3 c^3 x^3-3 a^2 b c x \sqrt {\frac {1-c x}{1+c x}} (1+c x)+6 a^2 b c^3 x^3 \text {sech}^{-1}(c x)+3 i a^2 b \log \left (-2 i c x+2 \sqrt {\frac {1-c x}{1+c x}} (1+c x)\right )-6 a b^2 \left (c x+c x \sqrt {\frac {1-c x}{1+c x}} (1+c x) \text {sech}^{-1}(c x)-c^3 x^3 \text {sech}^{-1}(c x)^2-i \text {sech}^{-1}(c x) \log \left (1-i e^{-\text {sech}^{-1}(c x)}\right )+i \text {sech}^{-1}(c x) \log \left (1+i e^{-\text {sech}^{-1}(c x)}\right )-i \text {PolyLog}\left (2,-i e^{-\text {sech}^{-1}(c x)}\right )+i \text {PolyLog}\left (2,i e^{-\text {sech}^{-1}(c x)}\right )\right )-b^3 \left (6 c x \text {sech}^{-1}(c x)+3 c x \sqrt {\frac {1-c x}{1+c x}} (1+c x) \text {sech}^{-1}(c x)^2-2 c^3 x^3 \text {sech}^{-1}(c x)^3-3 i \left (-4 i \text {ArcTan}\left (\tanh \left (\frac {1}{2} \text {sech}^{-1}(c x)\right )\right )+\text {sech}^{-1}(c x)^2 \log \left (1-i e^{-\text {sech}^{-1}(c x)}\right )-\text {sech}^{-1}(c x)^2 \log \left (1+i e^{-\text {sech}^{-1}(c x)}\right )+2 \text {sech}^{-1}(c x) \text {PolyLog}\left (2,-i e^{-\text {sech}^{-1}(c x)}\right )-2 \text {sech}^{-1}(c x) \text {PolyLog}\left (2,i e^{-\text {sech}^{-1}(c x)}\right )+2 \text {PolyLog}\left (3,-i e^{-\text {sech}^{-1}(c x)}\right )-2 \text {PolyLog}\left (3,i e^{-\text {sech}^{-1}(c x)}\right )\right )\right )}{6 c^3} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [F]
time = 0.01, size = 0, normalized size = 0.00 \[\int x^{2} \left (a +b \,\mathrm {arcsech}\left (c x \right )\right )^{3}\, dx\]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Failed to integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int x^{2} \left (a + b \operatorname {asech}{\left (c x \right )}\right )^{3}\, dx \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [F]
time = 0.00, size = -1, normalized size = -0.00 \begin {gather*} \int x^2\,{\left (a+b\,\mathrm {acosh}\left (\frac {1}{c\,x}\right )\right )}^3 \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________